﻿using System.Collections.Generic;
using EDMDesigner.Business.CSDL.Type.Entity;

namespace EDMDesigner.UIBusiness.MSL
{
    public abstract class PropertiesMapping
    {
        public PropertiesMapping(EntityType entityType, EDMDesigner.Business.SSDL.EntityType.EntityType table)
        {
            EntityType = entityType;
            Table = table;
        }

        public EntityType EntityType { get; private set; }
        public EDMDesigner.Business.SSDL.EntityType.EntityType Table { get; private set; }

        public abstract IEnumerable<PropertyMapping> Mappings { get; }
    }
}
